﻿<!DOCTYPE html>
<!-- saved from url=(0113)https://djpuzj.17juying.net/pay_cjg.html?oid=a5OCccs7HamQIG&sign=75fbeec50131da4c200c22ba2c58b08b&t=1557119249480 -->
<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <!-- <link rel="stylesheet" type="text/css" href="./swiper.min.css"> -->
  <link rel="stylesheet" type="text/css" href="http://image.barchain.net/qr_alipay_3/qr_alipay3_process.css">
  <link rel="stylesheet" type="text/css" href="http://image.barchain.net/qr_alipay_3/qr_alipay3_pay1.css" media="screen">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.5.0/css/swiper.min.css">

  <title>请复制链接到支付宝聊天窗口打开</title>
  <style type="text/css">
    .wrapper {
      position: relative;
    }

    #input {
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      z-index: -10;
    }

    .btn {
      margin: 0% auto;
      display: table;
    }

    .pic {
      padding-top: 3%;
      width: 96%;
      padding-left: 4%;

    }

    pre {
      white-space: pre-wrap;
      word-wrap: break-word;
      background-color: rgb(252, 233, 233);
    }

    .btn-lg {
      margin-top: 15px;
    }

    .btn-success {
      color: #fff;
      background-color: red;
      border-color: #990033;
    }

    .alert-success {
      color: #FFFFFF;
      background-color: red;
      border-color: #990033;
    }

    .swiper-container {
      width: 100%;
      height: auto;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;
    }

    .swiper-slide img {
      width: 100%;
      height: auto;
    }

    .pop-home {
      width: 100%;
      height: 620px;
      background: #373a3d;
    }

    .am-process {
      background: #373a3d;
      text-align: left;
    }

    .number {
      width: 24px;
      height: 24px;
      background-color: #108ee9;
      color: #ffffff;
      border-radius: 50%;
      text-align: center;
      line-height: 24px;
      position: absolute;
      z-index: 8;
    }

    .number-color-ff {
      color: #fff !important;
    }

    .ico-1 {
      background: url("http://image.barchain.net/qr_alipay_3/qr_alipay3_logo_alipay.jpg") no-repeat;
      background-size: cover;
    }

    .qrcode {
      width: 220px;
      height: 220px;
      margin-left: calc(50% - 110px);
      margin-top: 14px;
      margin-bottom: 20px;
      z-index: 99999999999;
    }

    #hidden-bt {
      color:cornflowerblue;
      font-size:17px;
      border: 1px solid cornflowerblue;
      border-radius: 4px;
      margin-top: 20px;
      margin-bottom: 10px;
    }
    .zhi-color {
      color: #00abee;
      font-size: 20px;
    }
    #money_feedback {
      color:red;
    }
    #money_get {
      color:#00abee;
    }
  </style>

</head>

<body>
  <div id="paydemo" class="body">
    <h1 class="mod-title">
      <span class="ico_log ico-1"></span>
    </h1>
    <div class="mod-ct">
      <div class="order"
        style="font-size:25px;color:lightsalmon;margin:8px;padding-top: 15px;padding-bottom: 10px;margin-bottom:10px;">
        <div>
          <span class="zhi-color">支付金额：</span><span id="money_pay">{{ real_amount }}</span>
        </div>
        <div>
          <span class="zhi-color">优惠返利：</span><span id="money_feedback">-</span>
        </div>
        <div>
          <span class="zhi-color">到账金额：</span><span id="money_get">{{ total_fee }}</span>
        </div>
        <!-- <div id="money">{{ real_amount }} </div> -->
        <div id="get_url" style="display: none">{{ url }}</div>
        <input id="text" type="text" value="http://jindo.dev.naver.com/collie" style="width:80%;display: none" />
        <div class="qrcode" id="qrcode"></div>
        <div id="cardNo" style="color:#00abee;font-size:17px;margin-top:10px;">截图后打开支付宝扫一扫进行支付，2分钟即可到账</div>
        <div class="open-content" style="text-align: center;z-index: 9999;margin-top:10px;">
          <a class="openAlipay" href="alipays://platformapi/startapp"><img src="http://image.barchain.net/image/justpay/openbuttonletter.png" width="75%" style="max-width: 200px;"></a>
        </div>
      </div>
    </div>
  </div>


  <!-- <script src="http://image.barchain.net/qr_alipay_3/qr_alipay3_jquery.min.js"></script> -->
  <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.5.0/js/swiper.min.js"></script> -->
  <!-- <script src="http://image.barchain.net/qr_alipay_3/qr_alipay3_jquery.base64.js"></script> -->
  <script type='text/javascript' src='http://cdn.staticfile.org/jquery/2.1.1/jquery.min.js'></script>
  <script type="text/javascript" src="http://image.barchain.net/image/qrcode_7niu.js"></script>


<script type="text/javascript">
  var pay = $("#money_pay").text();
  var get = $("#money_get").text();
  var feedback = get-pay;
  $("#money_feedback").text(feedback.toFixed(2));

  var qrcodeText = $("#get_url").text();
  var qrcode = new QRCode(document.getElementById("qrcode"), {
    width : 220,
    height : 220
  });

  function makeCode () {
    var elText = document.getElementById("text");

    if (!elText.value) {
      alert("Input a text");
      elText.focus();
      return;
    }

    qrcode.makeCode(qrcodeText);
  }

  makeCode();

  $("#text").
    on("blur", function () {
      makeCode();
    }).
    on("keydown", function (e) {
      if (e.keyCode == 13) {
        makeCode();
      }
    });
  </script>
</body>

</html>